package com.wqiuqiu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wqiuqiu.common.PageUtils;
import com.wqiuqiu.gulimall.product.entity.CategoryEntity;
import com.wqiuqiu.gulimall.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author wqiuqiu
 * @email 18773489795@163.com
 * @date 2023-11-27 20:00:38
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeBatchBuIds(List<Long> asList);

    Long[] getCatelogIdPaths(Long categoryId);

    void updateCascade(CategoryEntity category);

    List<CategoryEntity> getAllFristCatelog();

    Map<String, List<Catelog2Vo>> getCatelog();

}

